<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Rag Hu
 * Created Time: 2019/8/5 16:04
 * Modified Time: 2019/8/5 16:04
 * Version: 2.0
 */

namespace App\Modules\Store\Validators;


use Flower\Core\Repository\Contracts\ValidatorInterface;
use Flower\Core\Repository\Validator\LaravelValidator;

class StorePhotoValidator extends LaravelValidator
{
    protected $rules = [
        ValidatorInterface::RULE_CREATE => [
            'store_id' => 'required|numeric',
            'image' => 'required|numeric',
        ],
        ValidatorInterface::RULE_UPDATE => [
            'store_id' => 'required|numeric',
            'image' => 'required|numeric',
        ]
    ];

    protected $messages = [

    ];
}